const u = "http://47.103.21.65:5645/"
const post = (url ,param,success) => {
    wx.request({
      url: u+url,
      data: param,
      method:'POST',
      header: {
       'token':wx.getStorageSync('token'),
        'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'
      },
  
      success:(res)=>{
        console.log("res1="+res)
        success(res)
      }
    })
}

module.exports = {
  post: post
}